#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
using namespace std;
class Date
{
public:
	//Date()//无参构造函数
	//{
	//	_year = 0;
	//	_month = 0;
	//	_day = 0;
	//}
	//Date(int year = 0, int month = 0, int day = 0)//全缺省构造函数 
	//{
	//	_year = year;
	//	_month = month;
	//	_day = day;
	//}
	void Print()
	{
		cout << _year << '-' << _month << '-' << _day << endl;
	}

private:
	int _year = 0;
	int _month = 0;
	int _day = 0;
};
int main()
{
	Date d1;
	d1.Print();
	return 0;
}